<?php
$aStyleSheets = $this->css;

for($i = 0; $i < count($aStyleSheets); $i++)
{
	echo (!empty($aStyleSheets[$i]['condition']) ? '<!--[' . $aStyleSheets[$i]['condition'] . ']>' : '') . '<link rel="stylesheet" type="text/css" ' . (!empty($aStyleSheets[$i]['media']) ? 'media="'.$aStyleSheets[$i]['media'].'" ' : '') . 'href="' . $aStyleSheets[$i]['href'] . '"/>' . (!empty($aStyleSheets[$i]['condition']) ? '<![endif]-->' : '') . "\n";
}
?>
